package com.synergy.stockflow.team.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 班组基础信息表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "team_info")
public class TeamInfo {
    /**
     * 班组编号
     */
    @TableId(value = "team_id", type = IdType.INPUT)
    private String teamId;

    /**
     * 班组名称
     */
    @TableField(value = "team_name")
    private String teamName;

    /**
     * 班组类型（机加工、组装、注塑等）
     */
    @TableField(value = "team_type")
    private String teamType;

    /**
     * 备注信息
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}